-- card: 179318 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 4507 -- name: -- part 3 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=350 top=195 right=214 bottom=371 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: ----- HyperTalk script ----- on mouseUp show card field definition end mouseUp -- part 10 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=151 top=261 right=283 bottom=231 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Date ----- HyperTalk script ----- on mouseUp put the long date into card field date end mouseUp -- part 6 (field) -- low flags: 01 -- high flags: 0002 -- rect: left=244 top=253 right=291 bottom=334 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: Date -- part 4 (field) -- low flags: 81 -- high flags: 2004 -- rect: left=113 top=111 right=217 bottom=327 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: definition ----- HyperTalk script ----- on mouseUp hide card field definition end mouseUp -- part 2 (field) -- low flags: 01 -- high flags: 0007 -- rect: left=349 top=252 right=289 bottom=478 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: -- part 8 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=14 top=294 right=314 bottom=151 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Restore properties ----- HyperTalk script ----- on mouseUp set script of card field "Date" to empty set name of card field 3 to empty set style of card field 1 to rectangle set scroll of card field 3 to 0 --in pixels up to 170 set rect of card field 1 to 245,256,335,294 set loc of card field 1 to 289,272 set showLines of card field 1 to false set wideMargins of card field 1 to false put empty into card field "Date" end mouseUp -- part contents for background part 2 ----- text ----- Field properties -- part contents for background part 43 ----- text ----- 335,253 -- part contents for background part 44 ----- text ----- script name id number style scroll rect loc showLines wideMargins -- part contents for background part 1 ----- text ----- set script of card field "Date" to script of button "Date" set name of card field 3 to "Example" the id of card field 1--can't set the number of card field id 6 --can't set set style of card field 1 to shadow set scroll of card field 3 to 15 --in pixels from the top set rect of card field 1 to the rect of field 2 set loc of card field 1 to 200,200--* set showLines of card field 1 to true set wideMargins of card field 1 to true -- part contents for card part 2 ----- text ----- This is an example of a scrolling field. Use the scroll property to set the number of pixels you want to scroll down from the top. -- part contents for card part 4 ----- text ----- Loc includes two numbers that represent the center of the object. The first—"H"—is the distance from the left edge of the screen. The second—"V"—is the distance from the top.